package JackCompiler;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

public class VMWriter {

	PrintWriter out;
	
	public VMWriter(String path) throws IOException{
		out = new PrintWriter(new FileWriter(new File(path)));
	}
	
	public void writePush(String segment , int index){
		
	}
	
	public void writePop(String segment , int index){
		
	}
	
	public void writeArithmetic(String command){
		
	}
	
	public void writeLabel(String label){
		
	}
	
	public void writeGoTo(String goTo){
		
	}
	
	public void writeIf(String If){
		
	}
	
	public void writeCall(String name , int nArgs){
		
	}
	
	public void writeFunction(String name , int nLocals){
		
	}
	
	public void writeReturn(){
		
	}
	
	public void close(){
		out.close();
	}
}
